import {postRequest, getRequest, deleteRequest} from '@/utils/api'

const $tenantManageApi = {
  //分页获取租户信息
  pageGetTenantInfo: param => {
    return postRequest(`/gv-kube/userTenantRel/page`, param)
  },
  //根据租户ID获取租户名称
  getTenantNameById: param => {
    return postRequest(`/gv-kube/tenant/gvKubeTenant/get/name/${param}`)
  },
  //根据租户ID获取租户名称
  getMaxResources: () => {
    return postRequest(`/gv-kube/tenant/gvKubeTenant/get/max/resource`)
  }
}

export default $tenantManageApi
